import { api } from "@/lib/request";
import { type AppConfigResponseData, type Response } from "@/types/response";

export const appAPI = {
  appConfig: async (): Promise<Response & { data: AppConfigResponseData }> => {
    const response = await api.get("/app/config");
    return response as unknown as Response & { data: AppConfigResponseData };
  },
};
